import Mock from "mockjs";

Mock.setup({
    timeout:'50-300'
})

Mock.mock('/api/goods','get',()=>{
    return Mock.mock({
        code:1,
        "list|6":[
            {
                "id|+1":0,
                "name|1":['香蕉','葡萄','苹果','橙子','橘子','樱桃','糖果'],
                "num|0":1,
                "price|1-30":1,
                "check|1-2":false
            }
        ]
    })
})